/**
 * @program: malll
 * @description:
 * @author: Mr.Xu
 * @create: 2020-12-30 14:26
 **/

package com.bobo.mall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 二级分类VO
 */
public class Catelog2Vo {
    /**
     * 1 级父类 ID
     */
    private String catalog1Id;
    /**
     * 三级子分类
     */
    private List<Catelog3Vo> catalog3List;
    private String name;
    private String id;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    /**
     * 三级分类VO
     */
    public static class Catelog3Vo{
        /**
         * 二级分类ID
         */
        private String catalog2Id;
        private String id;
        private String name;
    }
}